# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=himitsu-keyring
pkgver=0.1.0
pkgrel=0
pkgdesc="Himitsu keystore frontend"
url="https://git.sr.ht/~martijnbraam/keyring"
arch="x86_64 aarch64" # Limited by himitsu
license="GPL-3.0-or-later"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/keyring/archive/$pkgver.tar.gz"
depends="python3 py3-gobject3 gtk+3.0 himitsu libhandy1"
makedepends="py3-setuptools glib-dev meson ninja libhandy1-dev"
builddir="$srcdir/keyring-$pkgver"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}


sha512sums="
5fdf36089bc33a861b3b5fe1cf5176fb4e80aff0d8f4423b37f1f6d98805c189f600ceb156d391c4e98e992e4e732efdd8871518fa9db9c9aef517a793adbc3f  himitsu-keyring-0.1.0.tar.gz
"
